<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 400px;
            height: 200px;
            border: 1px solid pink;
            position: relative;
            margin: 400px auto;
        }
        
        div img {
            width: 100%;
            height: 100%;
            position: absolute;
            left: 0;
            top: 0;
            transition: all 1s;
            transform-origin: top right;
        }
        
        div:hover img:nth-child(1) {
            transform: rotate(30deg);
        }
        
        div:hover img:nth-child(2) {
            transform: rotate(60deg);
            /* transform-origin: top right; */
        }
        
        div:hover img:nth-child(3) {
            transform: rotate(90deg);
            /* transform-origin: top right; */
        }
        
        div:hover img:nth-child(4) {
            transform: rotate(120deg);
            /* transform-origin: top right; */
        }
        
        div:hover img:nth-child(5) {
            transform: rotate(150deg);
            /* transform-origin: top right; */
        }
        
        div:hover img:nth-child(6) {
            transform: rotate(180deg);
            /* transform-origin: top right; */
        }
        
        div:hover img:nth-child(7) {
            transform: rotate(210deg);
            /* transform-origin: top right; */
        }
        
        div:hover img:nth-child(8) {
            transform: rotate(240deg);
            /* transform-origin: top right; */
        }
        
        div:hover img:nth-child(9) {
            transform: rotate(270deg);
            /* transform-origin: top right; */
        }
        
        div:hover img:nth-child(11) {
            transform: rotate(300deg);
            /* transform-origin: top right;/ */
        }
        /* }div:hover img:nth-child(10) {
            transform: rotate(300deg);
            transform-origin: top right;
        } */
    </style>
</head>

<body>
    <div>
        <img src="./R-C.jpg" alt="">
        <img src="./R-C1.jpg" alt="">
        <img src="./R-C.jpg" alt="">
        <img src="./R-C1.jpg" alt="">
        <img src="./R-C.jpg" alt="">
        <img src="./R-C1.jpg" alt="">
        <img src="./R-C.jpg" alt="">
        <img src="./R-C1.jpg" alt="">
        <img src="./R-C.jpg" alt="">
        <img src="./R-C1.jpg" alt="">
        <img src="./R-C1.jpg" alt="">

    </div>
</body>

</html>